package com.lagou.model;

import java.io.Serializable;

public class QuestionMessage implements Serializable {

    private static final long serialVersionUID = 587319898205378822L;
    private String qResult;
    private Question question;

    public QuestionMessage() {
    }

    public QuestionMessage(String qResult, Question question) {
        this.qResult = qResult;
        this.question = question;
    }

    public String getqResult() {
        return qResult;
    }

    public void setqResult(String qResult) {
        this.qResult = qResult;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    @Override
    public String toString() {
        return "QuestionMessage{" +
                "qResult='" + qResult + '\'' +
                ", question=" + question +
                '}';
    }
}
